home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_)
- #define AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
-
- // Dispatch interfaces referenced by this interface
- class COleFont;
- class CPVIBranch;
- class CPicture;
-
- /////////////////////////////////////////////////////////////////////////////
- // CPVTreeView3 wrapper class
-
- class CPVTreeView3 : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPVTreeView3)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xdb625b9a, 0x5ea, 0x11d2, { 0x97, 0xdd, 0x0, 0x40, 0x5, 0x20, 0x79, 0x9c } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- OLE_COLOR GetBackColor();
- void SetBackColor(OLE_COLOR);
- BOOL GetEnabled();
- void SetEnabled(BOOL);
- COleFont GetFont();
- void SetFont(LPDISPATCH);
- OLE_COLOR GetForeColor();
- void SetForeColor(OLE_COLOR);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- short GetAppearance();
- void SetAppearance(short);
- short GetBorderStyle();
- void SetBorderStyle(short);
- long GetSelectMode();
- void SetSelectMode(long);
- BOOL GetSort();
- void SetSort(BOOL);
- BOOL GetUseTabStops();
- void SetUseTabStops(BOOL);
- BOOL GetIntegralHeight();
- void SetIntegralHeight(BOOL);
- BOOL GetMultiColumn();
- void SetMultiColumn(BOOL);
- BOOL GetEnableMicroBitmaps();
- void SetEnableMicroBitmaps(BOOL);
- BOOL GetEnableBitmaps();
- void SetEnableBitmaps(BOOL);
- BOOL GetEnableLines();
- void SetEnableLines(BOOL);
- BOOL GetAutoOpen();
- void SetAutoOpen(BOOL);
- short GetHorizontalExtent();
- void SetHorizontalExtent(short);
- BOOL GetProportionalScrollBars();
- void SetProportionalScrollBars(BOOL);
- BOOL GetAlwaysShowSelection();
- void SetAlwaysShowSelection(BOOL);
- long GetMultiColumnStyle();
- void SetMultiColumnStyle(long);
- short GetColumnWidth();
- void SetColumnWidth(short);
- short GetNumberOfColumns();
- void SetNumberOfColumns(short);
- BOOL GetUseStateBitmaps();
- void SetUseStateBitmaps(BOOL);
- long GetStandardDefaultPicture();
- void SetStandardDefaultPicture(long);
- short GetIndent();
- void SetIndent(short);
- BOOL GetAllowInPlaceEditing();
- void SetAllowInPlaceEditing(BOOL);
- BOOL GetEnableToolTips();
- void SetEnableToolTips(BOOL);
- unsigned long GetToolTipBackColor();
- void SetToolTipBackColor(unsigned long);
- unsigned long GetSelectedTextBackColor();
- void SetSelectedTextBackColor(unsigned long);
- unsigned long GetSelectedTextForeColor();
- void SetSelectedTextForeColor(unsigned long);
- unsigned long GetLineColor();
- void SetLineColor(unsigned long);
- BOOL GetRedraw();
- void SetRedraw(BOOL);
- CPVIBranch GetBranches();
- void SetBranches(LPDISPATCH);
- short GetTabPointCount();
- void SetTabPointCount(short);
- long GetCount();
- void SetCount(long);
- long GetVisibleCount();
- void SetVisibleCount(long);
- CPicture GetCustomDefaultPicture();
- void SetCustomDefaultPicture(LPDISPATCH);
- LPUNKNOWN GetDataSource();
- void SetDataSource(LPUNKNOWN);
- CString GetDataMember();
- void SetDataMember(LPCTSTR);
-
- // Operations
- public:
- void ClearTabStops();
- CPVIBranch Find(long relationship, LPDISPATCH relative, LPCTSTR Text);
- void BeginInPlaceEdit();
- void EndInPlaceEdit();
- long GetEditHWND();
- CPVIBranch HitTest(long x, long y);
- short GetTabPoint(short index);
- void SetTabPoint(short index, short nNewValue);
- long GetStandardLevelPicture(short Level);
- void SetStandardLevelPicture(short Level, long nNewValue);
- CPicture GetCustomLevelPicture(short Level);
- void SetRefCustomLevelPicture(short Level, LPDISPATCH newValue);
- CString GetDataField(long nIndex);
- void SetDataField(long nIndex, LPCTSTR lpszNewValue);
- void AboutBox();
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_PVTREEVIEW3_H__162C4C31_36E1_11D2_9B3B_00400561D975__INCLUDED_)
-